# $Id: PKGBUILD 171689 2012-11-21 14:00:30Z dan $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=mod_fcgid
pkgver=2.3.7
pkgrel=1
pkgdesc="A FastCGI module for Apache HTTP Server."
license=('APACHE')
arch=('i686' 'x86_64')
url="http://httpd.apache.org/mod_fcgid/"
depends=('apache')
source=("http://apache.cs.utah.edu/httpd/mod_fcgid/mod_fcgid-$pkgver.tar.gz")
sha256sums=('b72810cb34942945156f29ce60946da7dc941bb4cfca8b9d224573535bd8ef6d')

build() {
  cd "$srcdir"/$pkgname-$pkgver
  ./configure.apxs 
  make
}

package() {
  cd "$srcdir"/$pkgname-$pkgver
  make DESTDIR="$pkgdir" install
  rm -rf "$pkgdir"/{usr/share,etc}
}
